Landsat

import ee
import geemap
geemap.ee_initialize()
Map = geemap.Map()
roi = ee.Geometry.BBox(15.14662579020479, -4.489460109907313,  15.681051457462889, -3.956485370168921)
Map.addLayer(roi)
Map.centerObject(roi)
Map

Landsat#

timelapse = geemap.landsat_timelapse(
    roi,
    out_gif='data/gif/landsat.gif',
    start_year=2000,
    end_year=2025,
    start_date='01-01',
    end_date='12-31',
    bands=['SWIR1', 'NIR', 'Red'],
    frames_per_second=5,
    title='Landsat Timelapse',
    progress_bar_color='white',
    mp4=True,
)
geemap.show_image(timelapse)
Generating URL...
Downloading GIF image from https://earthengine.googleapis.com/v1/projects/11280955351/videoThumbnails/390ce65ac782d801cfbbf8c1d5e07bdb-81905f5db5200a702580dc37a4adf4e0:getPixels
Please wait ...
The GIF image has been saved to: /home/nish/github/konishon/pani-path/docs/_build/jupyter_execute/notebooks/data/gif/landsat.gif
ffmpeg is not installed on your computer.
ffmpeg is not installed on your computer.

Sentinel-2#

timelapse = geemap.sentinel2_timelapse(
    roi,
    out_gif='data/gif/sentinel2.gif',
    start_year=2021,
    end_year=2025,
    start_date='01-01',
    end_date='12-31',
    frequency='year',
    bands=['SWIR1', 'NIR', 'Red'],
    frames_per_second=3,
    title='Sentinel-2 Timelapse',
)
geemap.show_image(timelapse)
Generating URL...
Downloading GIF image from https://earthengine.googleapis.com/v1/projects/11280955351/videoThumbnails/b67d6f6bdedc1fbe9c68b0a01becaba7-17b9bdc810d5d23bb66823474cb26924:getPixels
Please wait ...
The GIF image has been saved to: /home/nish/github/konishon/pani-path/docs/_build/jupyter_execute/notebooks/data/gif/sentinel2.gif
ffmpeg is not installed on your computer.

MODIS#

timelapse = geemap.modis_ndvi_timelapse(
    roi,
    out_gif='data/gif/ndvi.gif',
    data='Terra',
    band='NDVI',
    start_date='2021-01-01',
    end_date='2025-12-31',
    frames_per_second=3,
    title='MODIS NDVI Timelapse',
    overlay_data='countries',
)
geemap.show_image(timelapse)
Generating URL...
Expression evaluates to an empty image collection.